package cn.snailteam.recruitment.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * OccupationCategories entity. @author MyEclipse Persistence Tools
 */

public class OccupationCategories implements java.io.Serializable {

	// Fields

	private Integer id;
	private String occupationName;
	private Set jobCategorieses = new HashSet(0);

	// Constructors

	/** default constructor */
	public OccupationCategories() {
	}

	/** minimal constructor */
	public OccupationCategories(String occupationName) {
		this.occupationName = occupationName;
	}

	/** full constructor */
	public OccupationCategories(String occupationName, Set jobCategorieses) {
		this.occupationName = occupationName;
		this.jobCategorieses = jobCategorieses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getOccupationName() {
		return this.occupationName;
	}

	public void setOccupationName(String occupationName) {
		this.occupationName = occupationName;
	}

	public Set getJobCategorieses() {
		return this.jobCategorieses;
	}

	public void setJobCategorieses(Set jobCategorieses) {
		this.jobCategorieses = jobCategorieses;
	}

}